import request from '@/http/request'
import QueryString from 'qs'
export function getUserAll(data) {
  return request({
    url: '/users',
    method: 'get',
  })
}

export function getUserAdd(data) {
  return request({
    url: '/users',
    method: 'post',
    data: data,
  })
}

export function getUserUpdate(data) {
  return request({
    url: '/users/updateUser',
    method: 'post',
    data: data,
  })
}


export function getUserDelete(data) {
  return request({
    url: '/users/deleteByID',
    method: 'post',
    data: data,
  })
}